package com.hollycrm.hollysqm.core.chat.bean;

import javax.xml.bind.annotation.XmlRegistry;

/**
 * 注册ObjectFactory类中所有引用属性（通过包路径加载类，必需实例化所有引用属性类）
 * @author jianglong
 * @date 2017年3月15日 下午4:40:52
 */
@XmlRegistry
public class ObjectFactory {

	public ObjectFactory(){}
	public Root createRoot(){
		return new Root();
	}
	
	public Record createRecord(){
		return new Record();
	}
	
	public SentenceList createSentenceList(){
		return new SentenceList();
	}
	
	public SilenceList createSilenceList(){
		return new SilenceList();
	}
	
	public Sentence createSentence(){
		return new Sentence();
	}
	
	public Silence createSilence(){
		return new Silence();
	}
}
